package com.hc.likelistenmusic.model

import android.content.Context
import com.hc.likelistenmusic.R

class LocalMusicModel(val context: Context) {
    fun getNoMusicFromLrcString(): String {
        return context.resources.getString(R.string.string_fragment_music_empty_lrc)
    }

    fun getNoMusicFromMusicString(permission:Boolean): String {
        if(permission){
            return context.resources.getString(R.string.string_fragment_music_permission_empty_music)
        }else{
            return context.resources.getString(R.string.string_fragment_music_permission_empty_music)
        }
    }

    fun getExitString(): String {
        return context.resources.getString(R.string.string_exit_info)
    }

    fun getPrepareErrorString(): String {
        return context.resources.getString(R.string.string_prepare_fail)
    }

    fun getFilterFailString(): String {
        return context.resources.getString(R.string.string_filter_empty)
    }
}